package com.tutu.hosp.repository;

import com.tutu.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Program: yygh_parent
 * @Description: 科室mapper接口
 * @Author: JK.TuTu
 * @Create: 2022-09-24 18:40
 **/
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {

   Department getDedepartmentByHoscodeAndDepcode(String hoscode,String depcode);
}
